package com.test.spring.beans;

import lombok.Data;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2018/9/25 16:27
 */
@Data
public class Car {
    private String brand;
    private String corp;
    private double price;
    private int maxSpeed;

    public Car(String brand, double price, int maxSpeed) {
        this.brand = brand;
        this.price = price;
        this.maxSpeed = maxSpeed;
    }

    public Car(String brand, String corp, double price) {
        this.brand = brand;
        this.corp = corp;
        this.price = price;
    }
}
